import Vue from 'vue'
import App from './App.vue'
import axios from 'axios'
import router from './router'
import './assets/css/global.less'
import './assets/font/iconfont.css'
import SocketService from "@/utils/socket_service";

SocketService.Instance.connect()
Vue.prototype.$socket = SocketService.instance
axios.defaults.baseURL = 'http://127.0.0.1:8888/api/'
Vue.prototype.$http = axios

Vue.config.productionTip = false
Vue.prototype.$echarts = window.echarts

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
